import React, { Component } from 'react';
import { StackNavigator, TabNavigator } from 'react-navigation';
// import CardStackStyleInterpolator from 'react-navigation/src/views/CardStack/CardStackStyleInterpolator';
import { Dimensions, AppRegistry, StyleSheet, Text, View, Button, TouchableOpacity, Image, ScrollView, FlatList, ActivityIndicator } from 'react-native';


import { NativeModules } from 'react-native';

import HomePage from './pages/Home/HomePage';
import SearchPage from './pages/Search/SearchPage';
import LessonSearchPage from './pages/Home/LessonSearchPage';
import MechanismSearchPage from './pages/Home/MechanismSearchPage';
import TeaIntroduction from './component/TeaIntroduction'
import TeacherSearchPage from './pages/Home/TeacherSearchPage'
import DetailLesson from './pages/DetailLesson'//课程目录主页面
import KeShiIndex from './pages/My/KeShiIndex'//购买后的课时的主页面

import SearchComPage from './pages/Home/SearchComPage'

import MyOrder from './pages/My/MyOrder'
import MyCare from './pages/My/MyCare';
import MyCollection from './pages/My/MyCollection'
import MyCourse from './pages/My/MyCourse'//我的 主页面
import Reply from './pages/My/comps/Reply'//评论列表页面
import ReplyDetail from './pages/My/comps/ReplyDetail'//评论详情页面



import PayScreen from './pages/Pay/PayScreen'
import PaySuccessScreen from './pages/Pay/PaySuccessScreen'

import ResPlayScreen from './pages/Res/ResPlayScreen'

import AdvView from './pages/AdvView/AdvView'

import A from './pages/Test/A'
import B from './pages/Test/B'
import C from './pages/Test/C'
// import Test from './Test.js'


/* 为了注释烦人的调试提醒 */
console.ignoredYellowBox = true;//['Remote debugger'];
import Test from './Test'

var RouterConfig = {
    FirstRouter: {
        screen: HomePage,
    },
    HomePage: {
        screen: HomePage,
    },
    SearchPage: {
        screen: SearchPage
    },
    SearchComPage: {
        screen: SearchComPage
    },
    LessonSearchPage: {
        screen: LessonSearchPage
    },
    DetailLesson: {
        screen: DetailLesson
    },
    MechanismSearchPage: {
        screen: MechanismSearchPage
    },
    TeaIntroduction: {
        screen: TeaIntroduction
    },
    TeacherSearchPage: {
        screen: TeacherSearchPage
    },

    KeShiIndex: {
        screen: KeShiIndex
    },
    MyOrder: {
        screen: MyOrder
    },
    MyCare: {
        screen: MyCare
    },
    MyCollection: {
        screen: MyCollection
    },
    MyCourse: {
        screen: MyCourse
    },
    PayScreen: {
        screen: PayScreen
    },
    PaySuccessScreen: {
        screen: PaySuccessScreen
    },
    AdvView: {
        screen: AdvView // 广告
    },
    Test: {
        screen: Test
    },
    Reply: {
        screen: Reply
    },
    ReplyDetail: {
        screen: ReplyDetail
    },
    ResPlayScreen: {
        screen: ResPlayScreen
    },
    A: {
        screen: A
    },
    B: {
        screen: B
    },
    C: {
        screen: C
    }
};

export default RouterConfig;